package com.youdianda.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaoyanggao
 * @since 2023-05-15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("sys_config")
@ApiModel(value = "SysConfig对象", description = "")
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class SysConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("配置名称")
    private String groupValue;

    @ApiModelProperty("tab 引入的组件名称")
    private String tabValue;

    @ApiModelProperty("配置配置键名英文")
    private String attrKey;

    @ApiModelProperty("配置字段中文名")
    private String attrName;

    @ApiModelProperty("配置值内容")
    private String attrValue;

    @ApiModelProperty("0正常 1 已删除")
    private Integer delFlag;

    @ApiModelProperty("字段类型，参见字段表")
    private Integer type;

    @ApiModelProperty("单选多选数据值")
    private String configValue;

    @ApiModelProperty("验证规则	")
    private String validator;

    @ApiModelProperty("输入框提示文字")
    private String placeholder;

    @ApiModelProperty("0 不可删除，1可删除")
    private Integer canDelete;

    @ApiModelProperty("显示权重，数字大的往后")
    private Integer sortNum;

}
